import { PanelDataProvider } from '../panel-data-provider/panel-data-provider';

/**
 * 面板布局数据项适配器
 *
 * @author chitanda
 * @date 2022-02-17 19:02:23
 * @export
 * @interface PanelLayoutDataProvider
 * @extends {PanelDataProvider}
 */
export interface PanelLayoutDataProvider<T = unknown> extends PanelDataProvider<T> {
  /**
   * 布局模式
   *
   * @author chitanda
   * @date 2022-02-17 19:02:29
   * @type {('absolute' | 'gird' | 'table')}
   */
  layout: 'absolute' | 'gird' | 'table';

  addChildren(): void;

  removeChildren(): void;

  updateChildren(): void;
}
